package com.yang.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

public interface LoginService {

    /**
     * @param request
     * @param emil
     * @param password
     * @return
     */
   public Map<String,Object> Login(HttpServletRequest request, String emil, String password);

    /**
     * 找验证码
     * @param Emil
     * @return
     */
   public Map<String,Object> getCodeByemil(String Emil);

    /**
     * 重置密码
     * @param emil
     * @param password
     * @param code
     * @return
     */
   public Map<String,Object> resetPasswordService(String emil,String password,String code);

    /**
     * 房间情况
     * @return
     */
   public Map<String,Object> roomConditionService();
}
